package person.csx.studentgradle.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import person.csx.studentgradle.dao.CourseDao;
import person.csx.studentgradle.model.Course;

import person.csx.studentgradle.service.CourseService;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class CourseServiceImpl     implements CourseService{
@Autowired
private CourseDao courseDao;
    @Override
    public List<Course> findCourse() {
        return courseDao.selectList(null);
    }
}




